﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace PSE.Communication.Fix.Common.Fixml
{
    [XmlRoot("Pty")]
    public class AllocationParty
    {
        [XmlAttribute("ID")]
        public int PartyID { get; set; }
        [XmlAttribute("Src")]
        public string PartyIDSource { get; set; }
        [XmlAttribute("R")]
        public int PartyRole { get; set; }

        public AllocationParty()
        {
            this.PartyIDSource = "D"; //FIXO
            this.PartyRole = 7; //FIXO
        }
    }
}
